package com.ray.generator.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ray.generator.entity.TableEntity;

import java.util.List;
import java.util.Map;

/**
 * @author Ray
 * @date 2018/12/19
 * 代码生成器 服务层
 */
public interface GeneratorService {

    Map<String, String> queryTable(String tableName);

    List<Map<String, String>> queryColumns(String tableName);

    IPage<TableEntity> myQueryList(Page page, String tableName);

    byte[] generatorCode(String[] tableNames);
}
